package org.eclipse.ea.requisit.manager.popup.view;

import org.eclipse.ui.IFolderLayout;
import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;

public class TraceabilityPerspective implements IPerspectiveFactory {

	@Override
	public void createInitialLayout(IPageLayout layout) {

		String editorArea = layout.getEditorArea();
		layout.setEditorAreaVisible(false);

		IFolderLayout folder = layout.createFolder("traceability", IPageLayout.BOTTOM, 0.35f, editorArea);
		folder.addPlaceholder(TraceabilityView.ID + ":*");
		folder.addView(TraceabilityView.ID);
	}
}
